package com.example.movie.common.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
data class Plan(

    @PrimaryKey
    val planId: Int = 0,

    @ColumnInfo(name = "movieImg")
    val movieImg: String? = null,

    @ColumnInfo(name = "protagonist")
    val protagonist: String? = null,

    @ColumnInfo(name = "movieTypeName")
    val movieTypeName: String? = null,

    @ColumnInfo(name = "hallId")
    val hallId: Int = 0,

    @ColumnInfo(name = "movieId")
    val movieId: Int = 0,

    @ColumnInfo(name = "agentId")
    val agentId: Int = 0,

    @ColumnInfo(name = "playTimeId")
    val playTimeId: Int = 0,

    @ColumnInfo(name = "seatPrice")
    val seatPrice: Float = 0f,

    @ColumnInfo(name = "playDay")
    val playDay: String? = null,

    @ColumnInfo(name = "playTimeName")
    val playTimeName: String? = null,

    @ColumnInfo(name = "startTime")
    val startTime: String? = null,

    @ColumnInfo(name = "endTime")
    val endTime: String? = null,

    @ColumnInfo(name = "hallName")
    val hallName: String? = null,

    @ColumnInfo(name = "movieName")
    val movieName: String? = null,

    @ColumnInfo(name = "agentName")
    val agentName: String? = null,

    @ColumnInfo(name = "hallTypeName")
    val hallTypeName: String? = null,

    @ColumnInfo(name = "score")
    val score: Float? = null,

    @ColumnInfo(name = "duration")
    val duration: Int? = null
)